<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>摇一摇</title>

<link href="__PUBLIC__/themes/wechat/shark/style.css" rel="stylesheet">
<link href="__PUBLIC__/plugins/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">
<link href="__PUBLIC__/plugins/font-awesome/4.4.0/css/font-awesome.min.css" rel="stylesheet">
<link href="__PUBLIC__/plugins/animate/animate.min.css" rel="stylesheet">
<link href="__PUBLIC__/themes/global/global.css" rel="stylesheet">
<script src="__PUBLIC__/plugins/jquery/2.1.3/jquery.min.js"></script>
<script src="__PUBLIC__/plugins/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script src="__PUBLIC__/js/global.js"></script>
<script src="__PUBLIC__/plugins/shake/shake.js"></script>
<script src="__PUBLIC__/js/wechat/shake/index.js"></script>
<script>
$(function(){
  Index.init(<?php echo json_encode( $config ) ?>);
});
</script>
</head>
<body>

<div class="container">
  <div class="bg"><img src="<?= U( $event_data['bg_img'] ) ?>"></div>
  <div class="phone-call"><a href="tel:4008861077"></a> </div>
  <div class="title">
    <img id="hand" src="__PUBLIC__/themes/wechat/shark/images/shake_title.png">
  </div>
</div>

<div class="my-modal" id="award_modal">
  <div class="my-modal-bg"><img src="__PUBLIC__/themes/wechat/shark/images/shake_award_bg.jpg"></div>
  <div class="my-modal-content">
    <div class="award-icon"><img id="award_icon" src="__PUBLIC__/themes/wechat/shark/images/award_icon.png"></div>
    <div class="award-name">
      <p id="award_type">恭喜你获得</p>
      <p id="award_name"></p>
    </div>
    <div class="award-btn">
      <a class="close-modal-btn" id="award_link" href="#" style="margin-right:12px">立即领取</a>
      <a class="close-modal-btn" href="<?= $config['my_award_url']?>">我的奖品</a>
    </div>
  </div>
</div>

<!--
  <div class="hand">
    <a id="hand_img" href="#"></a>
  </div>
  -->
<audio id="sound" controls src="__PUBLIC__/themes/wechat/shark/audios/shake.mp3" style="display:none"/>
</body>
</html>
